package com.lagou.guavacache.service;

import com.lagou.guavacache.dto.ModifyPostDTO;
import com.lagou.guavacache.vo.PostInfoVO;

import java.util.List;

public interface PostService {

    void refreshHotPosts();

    List<PostInfoVO> getHotPosts(Integer count);

    PostInfoVO getPostById(String postId);

    void modifyPostById(String postId, ModifyPostDTO modifyPostDTO);
}
